﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace CTP.CRM.Application.Dtos.OAuth
{
    /// <summary>
    /// 登录接口出参
    /// </summary>
    public class LoginOutput
    {
        public LoginOutput(object userInfoOutput, string token = null)
        {
            UserInfo = userInfoOutput;
            Token = token;
        }

        /// <summary>
        /// 生成的token
        /// </summary>
        public string Token { get; private set; }

        /// <summary>
        /// 用户信息
        /// </summary>
        public object UserInfo { get; private set; }

        /// <summary>
        /// 是否初始密码
        /// </summary>
        public bool IsInitPwd { get; set; }
    }
}
